package com.wenlong.train_ticketing_system_springboot.querymodule.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 苏文龙
 * @version 1.0
 */
@Controller
@RequestMapping("/trainT")
public class TestRedirectController {
    @RequestMapping("/index")
    public String gotoIndex(){
        return "redirect:http://localhost:9090/";
    }
}
